home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / appsrcs.zip / APPFINDR.ZIP / APPFINDR.H < prev    next >
C/C++ Source or Header  |  1993-04-29  |  996b  |  31 lines

  1. #include <windows.h>
  2.  
  3. #define IDC_INVISIBLE 0x200
  4.  
  5. #define IDM_DRIVE     100
  6.  
  7. #define PAGES            1
  8. #define LINELENGTH          128
  9. #define LINESPERPAGE        50
  10. #define MAXLINES        LINESPERPAGE * PAGES
  11.  
  12. #define FILENAME   0
  13. #define FOLDER       1
  14.  
  15. /*--------------------------------------------------------------*/
  16. int PASCAL WinMain(HINSTANCE, HINSTANCE, LPSTR, int);
  17. BOOL      AppInit(HINSTANCE hInstance);
  18. long WINAPI AppWndProc(HWND, UINT, WPARAM, LPARAM);
  19. void      VerticalScrollProcess(WPARAM wParam, LPARAM lParam);
  20. void      MakeFileList(void);
  21. void      MakeDriveList(void);
  22. void      AdjustScrollBar(void);
  23. void      ViewIcons(HDC hDC);
  24. void      ViewIconRow(HDC hDC, int row);
  25. int      ShowIcon(HDC hDC, UINT xLoc, UINT yLoc, LPSTR FileName, int type);
  26. void      DrawItemText (HDC hDC, LPSTR Text, RECT rc, int Invert);
  27. void UpdateCurrentText (int Invert);
  28. VOID OkMsgBox(char *szCaption, char *szFormat, ...);
  29. void GetRealDirName(char *Name, char *DirName);
  30. void SetPathName(void);
  31.